<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>收藏的链接</title>
</head>
<body>
<a href="index?uid=${uid }">个人收藏夹</a>
<h2>${name }</h2>
<c:forEach items="${links }" var="link">
	<span>${link.link }</span><a href="deleteLink?uid=${uid }&folderId=${folderId}&link=${link.link}">删除</a><br/>
</c:forEach>
<div>
		<form action="addLink" method="post">
			链接：<input type="text" name="link"/><input type="submit" value="添加"/>
			<input type="hidden" name="folderId" value="${folderId }"/>
			<input type="hidden" name="uid" value="${uid }"/>
		</form>
	</div>
</body>
</html>